import qbs 1.0

LedaPlugin {
    name: "SymbolEditor"

    cpp.defines: base.concat([
                                 "SYMBOLEDITOR_LIBRARY",
                             ])

    // SVG needed for now because we use SVG icons, and qt/plugins/iconengines/qsvgicons depends on it
    Depends { name: "Qt"; submodules: ["core", "gui", "widgets", "opengl", "xml", "svg"] }
    Depends { name: "Utils" }
    Depends { name: "Core" }
    Depends { name: "QtPropertyBrowser" }
    Depends { name: "Xdl" }
    Depends { name: "OldGraphicsView" }

    files: [
        "command/additemcommand.cpp",
        "command/additemcommand.h",
        "command/aligncommand.cpp",
        "command/aligncommand.h",
        "command/clonecommand.cpp",
        "command/clonecommand.h",
        "command/command.cpp",
        "command/command.h",
        "command/distributecommand.cpp",
        "command/distributecommand.h",
        "command/movecommand.cpp",
        "command/movecommand.h",
        "command/setpropertycommand.cpp",
        "command/setpropertycommand.h",
        "command/stackordercommand.cpp",
        "command/stackordercommand.h",
        "constants.h",
        "dock/dockwidget.cpp",
        "dock/dockwidget.h",
        "dock/taskdockwidget.cpp",
        "dock/taskdockwidget.h",
        "dock/undodockwidget.cpp",
        "dock/undodockwidget.h",
        "document.cpp",
        "document.h",
        "editor.cpp",
        "editor.h",
        "editorfactory.cpp",
        "editorfactory.h",
        "grid/cartesiangrid.cpp",
        "grid/cartesiangrid.h",
        "grid/grid.cpp",
        "grid/grid.h",
        "item/circleitem.cpp",
        "item/circleitem.h",
        "item/circulararcitem.cpp",
        "item/circulararcitem.h",
        "item/ellipseitem.cpp",
        "item/ellipseitem.h",
        "item/ellipticalarcitem.cpp",
        "item/ellipticalarcitem.h",
        "item/handle.cpp",
        "item/handle.h",
        "item/iitemobserver.cpp",
        "item/iitemobserver.h",
        "item/iobservableitem.cpp",
        "item/iobservableitem.h",
        "item/item.cpp",
        "item/item.h",
        "item/polygonitem.cpp",
        "item/polygonitem.h",
        "item/polylineitem.cpp",
        "item/polylineitem.h",
        "item/rectangleitem.cpp",
        "item/rectangleitem.h",
        "objectinspector/iconitemdelegate.cpp",
        "objectinspector/iconitemdelegate.h",
        "objectinspector/objectinspectoritem.cpp",
        "objectinspector/objectinspectoritem.h",
        "objectinspector/objectinspectormodel.cpp",
        "objectinspector/objectinspectormodel.h",
        "objectinspector/objectinspectorview.cpp",
        "objectinspector/objectinspectorview.h",
        "plugin.cpp",
        "plugin.h",
        "propertyeditor/itempropertyeditor.cpp",
        "propertyeditor/itempropertyeditor.h",
        "propertyeditor/propertybrowser.h",
        "propertyeditor/propertymanager.cpp",
        "propertyeditor/propertymanager.h",
        "propertyeditor/toolpropertyeditor.cpp",
        "propertyeditor/toolpropertyeditor.h",
        "settings/appearancesettingspage.cpp",
        "settings/appearancesettingspage.h",
        "settings/settingswidget.cpp",
        "settings/settingswidget.h",
        "settings/settingswidget.ui",
        "snap/abstractsnapstrategy.cpp",
        "snap/abstractsnapstrategy.h",
        "snap/automaticsnapstrategy.cpp",
        "snap/automaticsnapstrategy.h",
        "snap/nosnapstrategy.cpp",
        "snap/nosnapstrategy.h",
        "snap/snaptogridstrategy.cpp",
        "snap/snaptogridstrategy.h",
        "snap/snaptoitemcenterstrategy.cpp",
        "snap/snaptoitemcenterstrategy.h",
        "snap/snaptoitemendpointstrategy.cpp",
        "snap/snaptoitemendpointstrategy.h",
        "snap/snaptoitemmidpointstrategy.cpp",
        "snap/snaptoitemmidpointstrategy.h",
        "snap/snaptoitemshapestrategy.cpp",
        "snap/snaptoitemshapestrategy.h",
        "snapmanager.cpp",
        "snapmanager.h",
        "symboleditor.qmodel",
        "symboleditor_global.h",
        "tool/abstracttool.cpp",
        "tool/abstracttool.h",
        "tool/cloneitemtool.cpp",
        "tool/cloneitemtool.h",
        "tool/moveitemtool.cpp",
        "tool/moveitemtool.h",
        "tool/placecircletool.cpp",
        "tool/placecircletool.h",
        "tool/placecirculararctool.cpp",
        "tool/placecirculararctool.h",
        "tool/placeellipsetool.cpp",
        "tool/placeellipsetool.h",
        "tool/placerectangletool.cpp",
        "tool/placerectangletool.h",
        "tool/selecttool.cpp",
        "tool/selecttool.h",
        "toolmanager.cpp",
        "toolmanager.h",
        "view/scene.cpp",
        "view/scene.h",
        "symboleditor.qrc",
        "view/view.cpp",
        "view/view.h",
    ]
}
